<%@ page contentType="text/html; charset=gb2312" pageEncoding="utf-8" isELIgnored="false" %>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<form action="uploadImage" method="post" enctype="multipart/form-data">
    选择图片（accept="image/*" 表示只能接受图片）:
    <br> <input type="file" name="image" accept="image/*"/> <br>
    <br> <input type="text" name="txt"/> <br>
    <input type="submit" value="上传">
</form>
<<img src="./image/eye.png" alt="">

</html>